﻿using System;

namespace UIExceptionHandler.Interfaces
{
    public interface IErrorHandlerForm
    {
        event Action OnSendButtonClick;
        event Action OnShowErrorLinkClick;
        event Action OnLogFileLinkClick;
        event Action OnDebugButtonClick;

        void SetHeight(int height);

        string ExceptionInfoText { get; set; }

        string ExceptionDetailText { get; set; }

        string ReplyEmail { get; }

        void ShowExceptionInfoTextBox(bool isShow);

        void ShowInfoMessageBox( string text, string caption);

        bool ShowQuestionDialog( string text, string caption);

        void ShowViewDialog();

        void UpdateContactEmail(string contactEmail);
    }
}